package com.simon.seckill.dao;

import com.simon.seckill.Entities.Product;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface ProductDao {
    List<Product> selectAllProducts();

    Product getProductById(Integer id);

    Product getProductByRandomName(String randomName);

    void createOrder(Map<String, Object> paramMap);
}
